<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>cos办公系统登录</title>
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <link href="resources/styles/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <!-- Font Awesome Icons -->
    <!--<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />-->
    <!-- Theme style -->
    <link href="resources/styles/AdminLTE.min.css" rel="stylesheet" type="text/css" />
    <!-- iCheck -->
    <link href="resources/styles/blue.css" rel="stylesheet" type="text/css" />
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <!--<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>-->
        <!--<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>-->
    <!--<![endif]&ndash;&gt;-->
  </head>
  <body class="login-page" data-ng-app="app.login">
    <div class="login-box" data-ng-controller="login">
      <div class="login-logo">
        <h2>cos办公系统</h2>
      </div>
      <div class="login-box-body">
        <p class="login-box-msg">用户登录</p>
        <div class="has-error" style="font-size: 20px;text-align: center;">
          <!--<label class="control-label">请直接点击登录</label>-->
          <label class="control-label">{{login_error}}</label>
        </div>
        <form method="post" data-ng-submit="login()">
          <div class="form-group has-feedback">
            <input type="text" class="form-control" id="userName" placeholder="账户" data-ng-model="loginInfo.username" required/>
            <span class="glyphicon glyphicon-envelope form-control-feedback"></span>
          </div>
          <div class="form-group has-feedback">
            <input type="password" class="form-control" id="userPwd" placeholder="密码" data-ng-model="loginInfo.password" required/>
            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
          </div>
          <div class="row">
            <div class="col-xs-8">    
              <div class="checkbox icheck">
                <label>
                  <input type="checkbox" id="save">&nbsp;&nbsp;&nbsp;&nbsp;记住账户和密码
                </label>
              </div>                        
            </div>
            <div class="col-xs-4">
              <button type="submit" class="btn btn-primary btn-block btn-flat">进入</button>
            </div>
          </div>
        </form>
        <div class="social-auth-links text-center">
       <!--   <p>- OR -</p>
          <a target="_blank" href="http://www.bozsoft.net/" class="btn btn-block btn-social btn-facebook btn-flat"><i><img src="resources/images/login/home.png" width="12" height="28"></i>&nbsp;公&nbsp;&nbsp;司&nbsp;&nbsp;官&nbsp;&nbsp;网</a>
          <a target="_blank" href="http://www.bozsoft.net/app.html" class="btn btn-block btn-social btn-google-plus btn-flat"><i><img src="resources/images/login/app.png" width="12" height="28"></i>&nbsp;公&nbsp;&nbsp;司&nbsp;&nbsp;APP</a>
       -->
        </div><br/><br/>
      </div>
    </div>
    <script src="resources/scripts/vendor.js"></script>
    <script src="resources/scripts/myScripts/login.js"></script>
    <script src="resources/scripts/icheck.min.js" type="text/javascript"></script>
    <script>
      $(function () {
        $('input').iCheck({
          checkboxClass: 'icheckbox_square-blue',
          radioClass: 'iradio_square-blue',
          increaseArea: '20%' // optional
        });
      });
    </script>
  </body>
</html>